package model;

import java.util.ArrayList;

/**
 * The Class SearchResultModel.
 * holds a list of all the photo headlines found in search.
 */
public class SearchResultModel 
{
	private ArrayList<SearchPhotoModel> photoHeadlineList;
	
	private String [] buttonNames;


	/**
	 * Instantiates a new search result model.
	 *
	 * @param photoHeadlineList the photo headline list
	 */
	public SearchResultModel(ArrayList<SearchPhotoModel> photoHeadlineList) 
	{
		super();
		this.photoHeadlineList = photoHeadlineList;
	}


	/**
	 * Gets the photo headline list.
	 *
	 * @return the photo headline list
	 */
	public ArrayList<SearchPhotoModel> getPhotoHeadlineList() 
	{
		return photoHeadlineList;
	}


	/**
	 * Gets the button names.
	 *
	 * @return the button names
	 */
	public String [] getButtonNames() 
	{
		return buttonNames;
	}


	/**
	 * Sets the button names.
	 *
	 * @param buttonNames the new button names
	 */
	public void setButtonNames(String [] buttonNames) 
	{
		this.buttonNames = buttonNames;
	}
	
}
